package com.hzvtc.bosswang.manageeducation.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hzvtc.bosswang.manageeducation.domain.UserCourse;
import com.hzvtc.bosswang.manageservice.domain.User;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;

public interface UserCourseService {

    ArrayList<User> selectStudentsByCourseId(Long id);
    Integer addUserCourse(UserCourse userCourse);

    Integer editUserCourse(UserCourse userCourse);

    Integer deleteUserCourse(Long id);

    UserCourse selectUserCourseById(Long id);

    Page<UserCourse> listUserCourse(Page<UserCourse> page, @Param("userCourse") UserCourse userCourse);
}
